body {
    color: #000;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
    -moz-user-select: none;
    /* 子元素所有的文字都不能选择，包括input输入框中的文字也不能选择 */
    user-select: none;
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    background: #f4f4f4;
}

img {
    vertical-align: middle;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #333;
}

div {
    box-sizing: border-box;
}


/* 搜索 */

.search-index {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    /* 固定盒子必须设置宽度，和父级元素无关，以屏幕为准 */
    width: 100%;
    height: 44px;
    min-width: 320px;
    max-width: 540px;
    align-items: center;
    /* border-bottom: 1px solid #ccc; */
    background-color: #f6f6f6;
    z-index: 99;
}

.search-index .search {
    display: flex;
    align-items: center;
    border-radius: 16px;
    border: 1.8px solid #2eaae0;
    background-color: #fff;
    flex: 1;
    margin: 6px 10px;
    height: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.search-index .search::before {
    content: "";
    width: 18px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -57px -279px;
    background-size: 104px;
    margin-left: 12px;
}

.search-index .search span {
    font-size: 15px;
    margin-left: 6px;
    color: #999;
}

.search-index .user {
    text-align: center;
    width: 44px;
    height: 44px;
    color: #2eaae0;
    font-size: 12px;
}

.search-index .user::before {
    content: '';
    display: block;
    background: url(../images/my.jpg) no-repeat;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background-size: 20px;
    margin: 5px auto 2px;
}


/* 轮播图 */

.focus {
    padding-top: 44px;
}

.focus img {
    width: 100%;
    /* border-radius: 15px; */
}


/* 导航栏 */

.local-nav {
    display: flex;
    height: 64px;
    margin: 3px 4px;
    border-radius: 8px;
    background-color: #fff;
}

.local-nav li {
    flex: 1;
}

.local-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    height: 100%;
}

.local-nav li [class^="local-nav-icon"] {
    width: 28px;
    height: 28px;
    background: url(../images/nav.png) no-repeat;
    background-size: 28px auto;
    margin-bottom: 5px;
}

.local-nav li a .local-nav-icon1 {
    background-position: 0 0;
}

.local-nav li a .local-nav-icon2 {
    background-position: 0 -56px;
}

.local-nav li a .local-nav-icon3 {
    background-position: 0 -112px;
}

.local-nav li a .local-nav-icon4 {
    background-position: 0 -196px;
}

.local-nav li a .local-nav-icon5 {
    background-position: 0 -224px;
}


/* 主导航栏 */

nav {
    border-radius: 8px;
    overflow: hidden;
    margin: 0 4px 3px;
}

.nav-common {
    display: flex;
    height: 88px;
}

.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #fa5956, #fb8650);
}

.nav-common:nth-child(2) {
    margin: 3px 0;
    background: -webkit-linear-gradient(0deg, #3c83fa, #50b2fa);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(0deg, #2fc3b6, #52d9b3);
}

.nav-common .nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-common .nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}


/* 第二例、第三列加左边框 */

.nav-common .nav-items:nth-child(n+2) {
    border-left: 1px solid #fff;
}


/* 第一列a的背景图 */

.nav-common .nav-items:nth-child(1) a {
    background: url(../images/grid-nav-items-hotel.png)no-repeat bottom center;
    background-size: 121px auto;
}


/* 第二例、第三列的第一个a加下边框 */

.nav-common .nav-items:nth-child(n+2) a:first-child {
    border-bottom: 1px solid #fff;
}


/* 侧导航栏 */

.subnav-entry {
    display: flex;
    margin: 0 4px 10px;
    border-radius: 8px;
    flex-wrap: wrap;
    background-color: #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
}

.subnav-entry li {
    flex: 20%;
    margin-bottom: 10px;
}

.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #333;
}

.subnav-entry li [class^="subnav-entry-icon"] {
    width: 28px;
    height: 28px;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px auto;
    margin-bottom: 5px;
    margin-top: 5px;
}

.subnav-entry li .subnav-entry-icon1 {
    background-position: 0 4px;
}

.subnav-entry li .subnav-entry-icon2 {
    background-position: 0 -28px;
}

.subnav-entry li .subnav-entry-icon3 {
    background-position: 0 -60px;
}

.subnav-entry li .subnav-entry-icon4 {
    background-position: 0 -97px;
}


/* 热门活动 */

.sales-box {
    margin: 4px;
    border-top: 1px solid #ccc;
    background: #fff;
}

.sales-box .sales-hd {
    position: relative;
    height: 44px;
}

.sales-box .sales-hd h2 {
    margin: 0;
    text-indent: -999px;
    overflow: hidden;
}

.sales-box .sales-hd h2::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 10px;
    width: 79px;
    height: 19px;
    background: url(../images/hot.png)no-repeat 0 -18px;
    background-size: 79px auto;
}

.sales-box .sales-hd .more {
    position: absolute;
    right: 8px;
    top: 12px;
    padding: 4px 10px;
    background: -webkit-linear-gradient(left, #fe4646, #ff679a);
    border-radius: 15px;
    font-size: 14px;
    color: #fff;
}

.sales-box .sales-hd .more::after {
    content: "";
    display: inline-block;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    width: 7px;
    height: 7px;
    transform: rotate(-45deg);
}

.sales-box .sales-bd {
    border-top: 1px solid #eee;
}

.sales-box .sales-bd .row {
    display: flex;
}

.sales-box .sales-bd .row a:first-child {
    border-right: 1px solid #eee;
}

.sales-box .sales-bd .row a {
    flex: 1;
}

.sales-box .sales-bd .row a img {
    width: 100%;
}